package command;

/**
 * 核心在于一个命令对应一个执行者
 */
public abstract class Command {
    protected Handler handler;

    public Command(Handler handler) {
        this.handler = handler;
    }

    abstract void execute();
}
